/**
 * Created by zengy on 2017/8/1.
 */
var http = HttpRequest.prototype;

http.getPractice = function (params, cb) {
    var opts = {
        url : baseUrl + '/manager/address/queryAddressList',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};
//新增

http.saveAddress = function (params, cb) {
    var opts = {
        url : baseUrl + '/manager/address/saveAddress',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};
//启用,禁用
http.modifyEnable = function (params, cb) {
    var opts = {
        url : baseUrl + '/manager/address/modifyEnable',
        type : 'POST',
        data : params
    };
    this.baseRequest(cb,opts);
};